package com.ruoyi.system.service.impl;

import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import com.ruoyi.system.mapper.WQcCementMixPlantFormulaMapper;
import java.util.List;
import com.ruoyi.system.domain.WQcCementMixPlantFormula;
import com.ruoyi.system.service.WQcCementMixPlantFormulaService;

/**
 * @Author LiBingyan
 * @Date 2022/3/20 14:43
 * @Version 1.0
 **/
@Service
public class WQcCementMixPlantFormulaServiceImpl implements WQcCementMixPlantFormulaService {

    @Resource
    private WQcCementMixPlantFormulaMapper wQcCementMixPlantFormulaMapper;

    @Override
    public int updateBatch(List<WQcCementMixPlantFormula> list) {
        return wQcCementMixPlantFormulaMapper.updateBatch(list);
    }

    @Override
    public int updateBatchSelective(List<WQcCementMixPlantFormula> list) {
        return wQcCementMixPlantFormulaMapper.updateBatchSelective(list);
    }

    @Override
    public int batchInsert(List<WQcCementMixPlantFormula> list) {
        return wQcCementMixPlantFormulaMapper.batchInsert(list);
    }

    @Override
    public int insertOrUpdate(WQcCementMixPlantFormula record) {
        return wQcCementMixPlantFormulaMapper.insertOrUpdate(record);
    }

    @Override
    public int insertOrUpdateSelective(WQcCementMixPlantFormula record) {
        return wQcCementMixPlantFormulaMapper.insertOrUpdateSelective(record);
    }

}

